#ifndef _AUTOMATE
#define _AUTOMATE

#include <cstdio>
#include <cstdlib>



struct automate
{
    char * mot;
    int etat_courant;
    int etat_initial;
    int * etat_final;
};


void initialise_automate(automate & Auto,const int etat_initial,const int * etat_final,const char * mot_ref,const int nb_etat);

void fonction_transition_fini_par_a(automate & Auto, const int lettre);


#endif
